Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

4.2K
Views
Your hardware does not support this application. Failed to load "libmain.so"

I tried to add Unity as a library to Android Studio and I got this error when I click on button that take me to unity app, there is no compile or build error. unity app works fine alone, also android app. this problem occurs when i tried to embedded unity in android this is the error

Failed to load "libmain.so"

I tried these solutions and nothing works with me: 1-run the app with many devices and emulators 2-change player sittings on unity 3-add this to App level's gradle

defaultConfig {
    ndk {
        abiFilters 'armeabi-v7a', 'x86'
    }
}

4-add this to Module's build.gradle

splits {
    abi {
        enable true
        reset()
        include 'x86', 'armeabi-v7a'
        universalApk true
    }
}
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

the solution is:

1- make sure you checked this target architecture form Unity player settings before exporting your Unity app.

2- when you open exported unity app on android studio go to App's level build.gradle and copy ndk block it will be similar to this.

 ndk {
        abiFilters 'armeabi-v7a', 'arm64-v8a'
    }

3- paste it on defaultConfig block on the targeted android app.

4- on strings.xml file on the targeted android app paste this.

<string name="game_view_content_description">Game view</string>
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!